﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template_BHHY_1.Master" AutoEventWireup="true" CodeBehind="DanhSachBHTN.aspx.cs" Inherits="WebBHXH.DanhSachBHTN" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div style="margin-left:80px; margin-top:30px; height:60px;">
<table style="width: 100%;" border="0">
    <tbody>
        <tr>
        <td style="width: 309px;" class="styleDSTitle">
            <strong>Đối Tượng :</strong>&nbsp;
            <asp:Label ID="lblObject" runat="server" Text="lblObject"></asp:Label>
            <br />
            <br />
            <strong>Địa chỉ :
            </strong>
            <asp:Label ID="lblAddress" runat="server" Text="lblAddress"></asp:Label>
            </td>
        <td class="styleDSTitle" style="width: 310px">
            <strong>Đơn Vị :</strong>&nbsp;
            <asp:Label ID="lblUnit" runat="server" Text="lblUnit"></asp:Label>
            <br />
            <br />
            <strong>Mức đóng bảo hiểm :</strong>&nbsp;
            <asp:Label ID="lblMoney" runat="server" Text="lblMoney"></asp:Label>
&nbsp;&nbsp; đ/người/năm</td>
        <td class="styleDSTitle" style="width: 336px">
            <strong>Mã Số :</strong>&nbsp;
            <asp:Label ID="lblCode" runat="server" Text="lblCode"></asp:Label>
            <br />
            <br />
            <strong>Loại BH :</strong>&nbsp;&nbsp;
            <asp:Label ID="lblLoaiBh" runat="server" Text="lblLoaiBh"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Mục BH 
            :</strong>
            <asp:Label ID="lblMucBH" runat="server" Text="lblMucBH"></asp:Label>

        </td>
        <td align="right">
            <div id="div-export-command" style="padding-top: 5px; margin-right:50px;">      

            </div>
        </td>
    </tr>
    </tbody>
    </table>
</div>
<div style="margin-left:80px; margin-top:30px;">
        <asp:GridView ID="GridView1" runat="server" Width="907px" 
            onrowediting="GridView1_RowEditing" onrowdeleting="GridView1_RowDeleting" 
            AutoGenerateColumns="False" AllowPaging="True" 
            onpageindexchanging="GridView1_PageIndexChanging" PageSize="6" 
            AutoGenerateSelectButton="True" 
            onselectedindexchanging="GridView1_SelectedIndexChanging" 
            onselectedindexchanged="GridView1_SelectedIndexChanged">
            <Columns>
                <asp:BoundField DataField="MaBHYTTN" HeaderText="Mã Số" >
                <ItemStyle Height="30px" />
                </asp:BoundField>
                <asp:BoundField DataField="MaDotBH" HeaderText="Mã Đợt" />
                <asp:BoundField DataField="HoVaTen" HeaderText="Họ Tên" />
                <asp:BoundField DataField="GioiTinh" HeaderText="Giới Tính" />
                <asp:BoundField DataField="CoSoKCB" HeaderText="Cơ Sở KCB" />
                <asp:BoundField DataField="LoaiBH" HeaderText="Loại BH" />
                <asp:BoundField DataField="MucBH" HeaderText="Mức BH" />
                <asp:BoundField DataField="DonViBHSTT" HeaderText="Đơn Vị" />
                <asp:BoundField DataField="MaSoThe" HeaderText="Mã Thẻ" />
                <asp:BoundField DataField="NSD" HeaderText="Người Tạo" />
                <asp:CommandField SelectText="Lựa Chọn" ShowSelectButton="True" />
                <asp:CommandField EditText="Sửa" ShowEditButton="True" />
                <asp:CommandField DeleteText="Xóa" ShowDeleteButton="True" />
            </Columns>
            <HeaderStyle BackColor="#33CCFF" Height="30px" />
        </asp:GridView>
</div>

<div style="margin-left:80px;  margin-top:10px; text-align:right; margin-right:190px">
    <asp:Button ID="btnAddNew" runat="server" Text="Thêm mới" 
        onclick="btnAddNew_Click" />
    <asp:Button ID="btnExportExcel" runat="server" Text="Xuất file Excel" 
        onclick="btnExportExcel_Click" />
    <asp:Button ID="btnPrintCard" runat="server" Text="In Thẻ" 
        onclick="btnPrintCard_Click" />
</div>
</asp:Content>
